package demo.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 
 * @author Administrator
 * 2012-8-29下午11:35:13
 */
public class HelloServlet extends HttpServlet {

	/**   **/
    private static final long serialVersionUID = 8344471980771383365L;

    @Override
	protected void service(HttpServletRequest req, HttpServletResponse res)
			throws ServletException, IOException {
		System.out.println("===>>HelloServlet.java 被调用");
		res.getWriter().println("Hello World!");
		System.out.println("\n\n\n");
	}

}
